<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>接单量查询</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="../libs/mui/mui.css"/>		
		<link rel="stylesheet" href="../libs/iconfont/fonts/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="../css/main.css"/>		
	</head>
	<style>
		.mui-content{font-size: 14px;}
		.mui-table-view-cell>a:not(.mui-btn){border-bottom: 1px solid #efeff4;}
		.mui-table-view-cell.mui-collapse .mui-collapse-content{padding: 0;}
		.mui-table-view-cell.mui-collapse .mui-table-view{margin: 0;border-bottom: 1px solid #ddd;background: #f6f6f6;}
		.mui-table-view-cell.mui-collapse .mui-table-view .mui-table-view-cell{padding-left: 0;padding: 11px 8px;}
		.mui-table-view-cell.mui-collapse .mui-table-view .mui-table-view-cell:after{height: 0;}
		/*图为详情*/
		.marg{margin-top: 5px;}
		.mui-table-view.mui-grid-view{padding: 0;}
		.mui-table-view.mui-grid-view .mui-table-view-cell {text-align: left;padding: 11px 10px;}
		.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-object{height: 75px;}		
		.Top span{margin-right: 15px;}
	</style>
	<body ng-app="personal" ng-controller="personalController">
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">近三个月订单量查询</h1>
		</header>
		<div class="mui-content">
			<div class="Secur">
				<ul class="mui-table-view">
					<li class="mui-table-view-cell mui-collapse">
						<a class="mui-navigate-right Top" href="#">
							<span>{{this_month.month}}月</span>
							<span>接单量：<b class="ify5">{{this_month.receipt_total}}</b>单</span>
							<span>销售额：<b class="red">{{this_month.price_total}}</b>元</span>
						</a>
						<div class="mui-collapse-content">
							<ul class="mui-table-view mui-grid-view" ng-repeat="(k,v) in this_month.order_list" ng-click="order_details(v.order_sn)">
								<div ng-repeat="(k1,v1) in v.goods_list">
									<li class="mui-table-view-cell mui-col-xs-3">
										<img class="mui-media-object mui-pull-left" src="{{pics}}{{v1.store_id}}/{{v1.goods_image}}"/>
									</li>
									<li class="mui-table-view-cell mui-col-xs-9">
										<div class="mui-ellipsis-2">{{v1.goods_name}}</div>										
										<div class="money">
											<span>￥{{v1.goods_price}}</span>
											<span>x{{v1.goods_num}}</span>
										</div>
									</li>
								</div>
							</ul>
						</div>
					</li>
				</ul>
				<ul class="mui-table-view">
					<li class="mui-table-view-cell mui-collapse">
						<a class="mui-navigate-right Top" href="#">
							<span>{{last_month.month}}月</span>
							<span>接单量：<b class="ify5">{{last_month.receipt_total}}</b>单</span>
							<span>销售额：<b class="red">{{last_month.price_total}}</b>元</span>
						</a>
						<div class="mui-collapse-content">
							<ul class="mui-table-view mui-grid-view" ng-repeat="(key,val) in last_month.order_list" ng-click="order_details(val.order_sn)">
								<div ng-repeat="(key1,val1) in val.goods_list">
									<li class="mui-table-view-cell mui-col-xs-3">
										<img class="mui-media-object mui-pull-left" src="{{pics}}{{val1.store_id}}/{{val1.goods_image}}"/>
									</li>
									<li class="mui-table-view-cell mui-col-xs-9">
										<div class="mui-ellipsis-2">{{val1.goods_name}}</div>										
										<div class="money">
											<span>￥{{val1.goods_price}}</span>
											<span>x{{val1.goods_num}}</span>
										</div>
									</li>
								</div>
							</ul>
						</div>
					</li>
				</ul>
				<ul class="mui-table-view">
					<li class="mui-table-view-cell mui-collapse">
						<a class="mui-navigate-right Top" href="#">
							<span>{{last_months.month}}月</span>
							<span>接单量：<b class="ify5">{{last_month.receipt_total}}</b>单</span>
							<span>销售额：<b class="red">{{last_month.price_total}}</b>元</span>
						</a>
						<div class="mui-collapse-content">
							<ul class="mui-table-view mui-grid-view" ng-repeat="(index,x) in last_months.order_list" ng-click="order_details(x.order_sn)">
								<div ng-repeat="(index1,x1) in x.goods_list">
									<li class="mui-table-view-cell mui-col-xs-3">
										<img class="mui-media-object mui-pull-left" src="{{pics}}{{x1.store_id}}/{{x1.goods_image}}"/>
									</li>
									<li class="mui-table-view-cell mui-col-xs-9">
										<div class="mui-ellipsis-2">{{x1.goods_name}}</div>										
										<div class="money">
											<span>￥{{x1.goods_price}}</span>
											<span>x{{x1.goods_num}}</span>
										</div>
									</li>
								</div>
							</ul> 
						</div>
					</li>
				</ul>
			</div>	
		</div>	
		<script src="../js/mui.js"></script>
		<script src="../js/open.js"></script>
		<script src="../libs/jquery/jquery.js"></script>
		<script type="text/javascript" src="../js/store_js/angular.js" ></script>
		<script type="text/javascript" src="../js/store_js/public.js" ></script>
		<script type="text/javascript" src="../js/store_js/personal_query.js" ></script>
	</body>
</html>